package org.naxx.security.naxxlet.model;

import java.util.ArrayList;
import java.util.List;

/**
 * Runtime policy object.
 */
public class XPolicy {
	
	private String id;
	private List<XRule> rules;

	public XPolicy(String policyId) {
		this.rules = new ArrayList<XRule>();
		this.id = policyId;
	}

	public void evaluate() {
	}
	
	public void addRule(XRule rule) {
		this.rules.add(rule);
	}

	public String getId() {
		return this.id;
	}
}
